Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Claim(val name: String, val namespace: String)

Represents a claim available in an OfferedCredential.

Link copied to clipboard
@Serializable
data class DiscoveredCredentialOffer

You can display the data from this object to the user to get their consent for credentials retrieval. It is recommended to do this before downloading and saving the credentials using the retrieveCredentials function.

Link copied to clipboard
@Serializable
data class OfferedCredential(val doctype: String, val claims: List<Claim>, val name: String?, scope: String)

Represents an offered credential available for retrieval.

Link copied to clipboard
@Serializable
data class RequestParameters(val loginHint: String?, val prompt: String?)

Represents UI hints for request authentication.

Link copied to clipboard
@Serializable(with = RetrieveCredentialError.Companion::class)
enum RetrieveCredentialError : Enum<RetrieveCredentialError>
Link copied to clipboard
@Serializable
data class RetrieveCredentialResult(val docType: String, val credentialId: String?, val error: RetrieveCredentialError?)

Represents a result of a mobile credential retrieval over OpenID4VCI.